home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / misc-part1 / 3175 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.6 KB  |  39 lines

  1. Path: news.eunet.fi!fipnet!kone!jsaarinen
  2. Newsgroups: comp.sys.amiga.programmer,comp.sys.amiga.graphics,comp.sys.amiga.misc,comp.sys.amiga.hardware,comp.sys.amiga.games
  3. X-NewsReader: IntuiNews 1.2b (31.7.94)
  4. References: <38232041@kone.fipnet.fi> <volker.0ed8@vb.franken.de> <38232075@kone.fipnet.fi> <volker.0ehd@vb.franken.de> <38232112@kone.fipnet.fi> <volker.0en5@vb.franken.de> <38232154@kone.fipnet.fi> <wfblanDLozuJ.64s@netcom.com>
  5. From: "Jyrki Saarinen" <jsaarinen@kone.fipnet.fi>
  6. Date: Fri, 26 Jan 96 06:00:11 UT
  7. Comments: Illegal date header - new date added by quicknews
  8. X-Original-Date: Thu, 25 Jan 96 16:27:02 
  9. MIME-Version: 1.0
  10. Content-Type: text/plain; charset=iso-8859-1
  11. Content-Transfer-Encoding: binary
  12. Subject: Re: FPU and games?
  13. Message-ID: <38232181@kone.fipnet.fi>
  14.  
  15.  
  16. > :     fmove    fp2,fp6        ;v<<8/z
  17. > :     fmove    fp0,fp7        ;u/z
  18. > :     fdiv    fp4,fp6        ;v<<8 = v<<8/z / 1/z
  19. > :     fdiv    fp4,fp7        ;u = u/z / 1/z
  20. > :     fmove.l    fp6,d0
  21. > :     fmove.b    fp7,d0
  22. > :     move.b    (a0,d0.l),(a1)+
  23. > :     fadd    fp2,fp3        ;v/z+=v/z step
  24. > :     fadd    fp0,fp1        ;u/z+=u/z step
  25. > :     fadd    fp5,fp4        ;1/z+=1/z step
  26. > So am I correct to understand that you are saying that using the above
  27. > loop without the fmoves, it is pheasable to use the 040's FPU to improve
  28. > texture maped games and programs?  And wouldn't this be all the more true
  29. > on an 060?
  30.  
  31. It should be helpful on a 040, too. And on 881/882, too, because
  32. that part is done only once per 16 pixels -->áfree direction
  33. texture mapping with perspective, no texture warping.
  34.  
  35. --                               _
  36. a Stellar programmer          _ //
  37. "Amiga - back for the future" \X/
  38.